set j_delphi_lib=d:\delphi\delphi.lib
set j_zip_lib=%j_delphi_lib%\zip

rem enter the dir
md dist
cd dist

rem drcp.jnlp,jarsign.bat,myKeyStore, 
copy ..\conf

copy ..\sysutil\sysutil.dll

rem copy .dll from zip lib 
copy %j_zip_lib%\dll\UnzDll.dll

rem copy drcp.zip here
copy ..\..\Container\dist\drcp.zip

rem copy JWS4Native.jar
copy ..\src\JWS4Native\JWS4Native.jar

rem make sysutil.jar
7za a -tzip sysutil.jar @sufilelist.txt

rem signing, password is pw12#$
call jarsign.bat


cd..